package main

import (
	_ "net/http/pprof"
	"go-test/src/com/miao/common/logger"
	"go-test/src/com/miao/handler"
	"go-test/src/com/miao/server"
	"go-test/src/com/miao/server/context"
	"net/http"
)

type body struct {
	Name,Avatar string
}



func main(){
	logger.Config("d",logger.InfoLevel)
	handler.RegisterHandlers()
	Text :=new(handler.Text1)
	//Text.s=make(map[string]*set.Set)
	////远程获取pprof数据
	go func() {
		http.ListenAndServe("localhost:8080", nil)
	}()
	server.StartServer(":7788",&context.GroupContext{Timeout:0,ServerListener:Text,PacketHandler:Text})

}



















